﻿@using ExtraMvcExtension.Bootstrap.Enums
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    @using (Bootstrap.BeginMenu(MenuType.StaticTop))
    {
        @Bootstrap.MenuTitle("My Title", "Index", "Home")

        using (Bootstrap.BeginMenuItems())
        {
        @Bootstrap.MenuLink("Home", "Index", "Home")
        @Bootstrap.MenuLink("My Menu 1", "MenuOne", "Home")
        @Bootstrap.MenuLink("My Menu 2", "MenuTwo", "Home")
        }
    }
    <h1>@ViewBag.Title</h1>
    <h2>Manual Breadcrumb</h2>
    @using (Bootstrap.BeginBreadCrumb())
    {
        @Bootstrap.BreadcrumbLink("Home", "Index", "Home", "/")
        @Bootstrap.BreadcrumbLink("Menu 1", "MenuOne", "Home", null)
    }
    
    <h2>Automatic Breadcrumb</h2>
    @Bootstrap.Breadcrumb(5, "/")

    @RenderBody()

    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)
</body>
</html>
